﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data;
using Slja.Model;

namespace Slja.IDAL
{
    public interface IImportData
    {
        /// <summary>
        /// 执行完整的SQL
        /// </summary>
        /// <param name="strSQL"></param>
        /// <returns></returns>
         int ExecuteSQL(string strSQL);
         void ImportDataBySQLAndParams(Hashtable hash);
         int SaveComparableTableColumns(string TableName, List<string> ColNames);
         List<string> GetComparableTableColumns(string TableName);
         DataTable GetTableDataByName(string tableName);
         Boolean DbTableExists(string tableName);
         DataTable GetJoinedData(int Year, int Month);
         DataTable GetTableColumns(string tableName);
         List<TableCol> GetComparableTableColumnsModel(string TableName);
    }
}
